Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure AKS Cluster Template #806

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

eromanova
Copy link
Member

@eromanova eromanova commented Dec 18, 2024

This PR introduces the following changes:

  1. A new template for azure-aks clusters has been added.
  2. The ManagedCluster spec now supports the option to skip propagating credentials by setting propagateCredentials: false. This is particularly needed for AKS clusters, as they do not require credential propagation.
  3. Added YAMLs with AKS credentials and managed cluster.

There are two API options for creating AKS clusters: ManagedCluster and ASOManagedCluster. The ASOManagedCluster approach was chosen because the ManagedCluster will eventually be deprecated. See CAPZ ManagedCluster vs. ASOManagedCluster.

ASO Credentials

ASO (azure service operator) requires Azure credentials to be defined in a Kubernetes Secret and does not support reading creds from AzureClusterIdentity (source: https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/docs/proposals/20230123-azure-service-operator.md#security-model).

Closes #744

@eromanova eromanova marked this pull request as ready for review December 19, 2024 12:35
@eromanova eromanova self-assigned this Dec 19, 2024
zerospiel
zerospiel previously approved these changes Dec 23, 2024
api/v1alpha1/managedcluster_types.go Outdated Show resolved Hide resolved
Co-authored-by: Michael Morgen <[email protected]>
Signed-off-by: Ekaterina Kazakova <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

create AKS template
2 participants